public class Teacher {
    String teacherName;
    String course;
    boolean isMole;

    public void teach() {
        System.out.println(teacherName + "老师教" + course);
    }

    public Teacher() {
        teacherName = "肖";
        course = "JAVASE";
        isMole = true;
    }

    public Teacher(String teacherName, String course, boolean isMole) {
        this.teacherName = teacherName;
        this.course = course;
        this.isMole = isMole;
    }
}
